| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/test/__pycache__/ |
Upload File : |
�
���g � � � d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
d� Zd� Zd� Z
d� Zd� Zdd�Zd � Zd
� Zedk( r e� yy)
a�
Command line tool to bisect failing CPython tests.
Find the test_os test method which alters the environment:
./python -m test.bisect_cmd --fail-env-changed test_os
Find a reference leak in "test_os", write the list of failing tests into the
"bisect" file:
./python -m test.bisect_cmd -o bisect -R 3:3 test_os
Load an existing list of tests from a file using -i option:
./python -m test --list-cases -m FileTests test_os > tests
./python -m test.bisect_cmd -i tests test_os
� Nc � � t | d� 5 }|D ] }t ||�� � |j � d d d � y # 1 sw Y y xY w)N�w)�file)�open�print�flush)�filename�tests�fp�names �$C:\Python312\\Lib\test\bisect_cmd.py�write_testsr s7 � �
�h�� ���D��$�R� � �
���
�
� � �s �%;�Ac �X � | sy t dt |� �d| ��� t | |� | S )NzWriting z tests into )r �lenr )r r
s r
�write_outputr &